package com.hwl.lab.repository;

import com.hwl.lab.entity.Area;
import com.hwl.lab.entity.Handle;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;

public interface HandleRepository extends JpaRepository<Handle,Long> {
    @Transactional
    Handle findByHandleid(String handleid);
    @Transactional
    void deleteByHandleid(String handleid);
}
